@echo off
chcp 65001
for /f "delims=" %%i in ('dir /s/a-d /b *.jpg') do  echo  {src:"images/2、商业插画/%%~nxi",intruduction:"",},>>JS代码.txt
start JS代码.txt

pause

del JS代码.txt